package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("f_returns")
public class Freturns {
    @TableId(type = IdType.AUTO)
    private  Integer id;
    private  Integer user;
    @TableField("f_order")
    private Integer forder;
    private String kuaidi;
    private Integer parcelid;
    @TableField("f_user")
    private Integer fuser;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date returntime;
    private String remark;
}
